Initializes a new instance of the PointSeries class.
Namespace: MindFusion.Charting
File: PointSeries.js
JavaScript Copy Code |
---|
function PointSeries (points, labels) |
Type: List | Array
A list of points.
Type: List | Array
A list of labels.
The following code creates a new PointSeries using two arrays with values:
JavaScript Copy Code |
---|
var series = new Charting.PointSeries( [ new Drawing.Point(0.32, 81), new Drawing.Point(0.39, 66), new Drawing.Point(0.75, 65), new Drawing.Point(0.49, 60) ], ["Germany", "France", "UK", "Italy"]); series.title = "Sales > $100K"; |